package com.authManager.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * <p>
 * 【角色菜单关联表】实体类
 * </p>
 *
 * @author 小旋风
 * @since 2018-8-16
 */
@TableName("sys_role_menu")
@ApiModel(description="角色菜单关联表")
public class SysRoleMenu  implements Serializable{
	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	@ApiModelProperty(value = "主键id")
    @TableId(value="sys_role_menu_id", type= IdType.AUTO)
    private Long sysRoleMenuId;
	/**
	 * 角色id
	 */
	@ApiModelProperty(value = "角色id")
    @TableField(value="sys_role_id")
    private Long sysRoleId;
	/**
	 * 资源id
	 */
	@ApiModelProperty(value = "资源id")
    @TableField(value="sys_menu_id")
    private Long sysMenuId;
	/**
	 * 系统code
	 */
	@ApiModelProperty(value = "系统code")
    @TableField(value="system_code")
    private String systemCode;
	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人")
    @TableField(value="creater")
    private String creater;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
    @TableField(value="create_time")
    private Date createTime;
	
	public Long getSysRoleMenuId() {
		return this.sysRoleMenuId;
	}
	
	public SysRoleMenu setSysRoleMenuId(Long sysRoleMenuId) {
		this.sysRoleMenuId = sysRoleMenuId;
		return this;
	}

	public Long getSysRoleId() {
		return this.sysRoleId;
	}
	
	public SysRoleMenu setSysRoleId(Long sysRoleId) {
		this.sysRoleId = sysRoleId;
		return this;
	}

	public Long getSysMenuId() {
		return this.sysMenuId;
	}
	
	public SysRoleMenu setSysMenuId(Long sysMenuId) {
		this.sysMenuId = sysMenuId;
		return this;
	}

	public String getSystemCode() {
		return this.systemCode;
	}
	
	public SysRoleMenu setSystemCode(String systemCode) {
		this.systemCode = systemCode;
		return this;
	}

	public String getCreater() {
		return this.creater;
	}
	
	public SysRoleMenu setCreater(String creater) {
		this.creater = creater;
		return this;
	}

	public Date getCreateTime() {
		return this.createTime;
	}
	
	public SysRoleMenu setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}

}